from tortoise.models import Model
from tortoise import fields


class ChatModel(Model):
    from_user = fields.CharField(max_length=32, verbose_name='发送者')
    content = fields.CharField(max_length=256, verbose_name='发送内容')
    ctime = fields.DatetimeField(auto_now_add=True)
